package com.ktg.common.utils.poi.tool1;


import lombok.Data;

import java.io.Serializable;

@Data
public class ExcelToClass implements Serializable {
    private Integer columnIndex;
    private String name;
    private String toName;
    private Class<?> dataType = String.class;

    private String dateFormat = "yyyy-MM-dd HH:mm:ss";



    public ExcelToClass(Integer columnIndex,String toName,Class<?> dataType){
        this.columnIndex = columnIndex;
        this.toName = toName;
        this.dataType = dataType;
    }

    public ExcelToClass(Integer columnIndex,String name,String toName,Class<?> dataType){
        this.columnIndex = columnIndex;
        this.name = name;
        this.toName = toName;
        this.dataType = dataType;
    }

    public ExcelToClass(String name,String toName,Class<?> dataType){
        this.name = name;
        this.toName = toName;
        this.dataType = dataType;
    }


}
